

<div id="login_container" style="height:200px;margin-left:100px;">
</div>
<div style="margin-top:100px;margin-left:50px">
    解绑说明:
    <br>
    &nbsp;&nbsp;解绑微信需要当前绑定的微信号扫描确认,进行解绑
</div>
<input type="hidden" id="id" value="{$Think.get.id}">
<script>
    !function(a,b,c){function d(a){var c="default";a.self_redirect===!0?c="true":a.self_redirect===!1&&(c="false");var d=b.createElement("iframe"),e="https://open.weixin.qq.com/connect/qrconnect?appid="+a.appid+"&scope="+a.scope+"&redirect_uri="+a.redirect_uri+"&state="+a.state+"&login_type=jssdk&self_redirect="+c+'&styletype='+(a.styletype || '')+'&sizetype='+(a.sizetype || '')+'&bgcolor='+(a.bgcolor || '')+'&rst='+(a.rst || '');e+=a.style?"&style="+a.style:"",e+=a.href?"&href="+a.href:"",d.src=e,d.frameBorder="0",d.allowTransparency="true",d.scrolling="no",d.width="300px",d.height="400px";var f=b.getElementById(a.id);f.innerHTML="",f.appendChild(d)}a.WxLogin=d}(window,document);
</script>
<script src="/static/js/jquery-3.3.1.min.js"></script>
<script src="/static/js/layer-3.1.1/layer.js"></script>

<script>
    let id  = $("#id").val();
    var obj = new WxLogin({
        self_redirect:true,
        id:"login_container",
        appid: "wx8aa2f9184458f614",
        scope: "snsapi_login",
        redirect_uri: encodeURIComponent("https://zhaopin.putonsoft.com/admin/user/handleBind?id="+id),
        state: Math.ceil(Math.random()*1000),
        style: "black",
        href: "data:text/css;base64,LmltcG93ZXJCb3ggLnFyY29kZSB7d2lkdGg6IDIwMHB4O30NCi5pbXBvd2VyQm94IC50aXRsZSB7ZGlzcGxheTogbm9uZTt9DQouaW1wb3dlckJveCAuaW5mbyB7d2lkdGg6IDIwMHB4O30NCi5zdGF0dXNfaWNvbiB7ZGlzcGxheTogbm9uZX0NCg0KLmltcG93ZXJCb3ggLnN0YXR1cyA6bnRoLWNoaWxkKDEpe2Rpc3BsYXk6IG5vbmU7fQ0KLmltcG93ZXJCb3gge21hcmdpbi10b3A6LTEwcHh9"
    });



</script>